package com.nutricia.common.api.result;

import com.nutricia.common.api.info.MenuAndPermissionInfo;
import com.nutricia.common.lang.BaseResponse;

import java.util.List;

/**
 * 获取菜单和权限
 *
 * @author: huangsheng
 * @date: 2017/10/24
 */
public class GetMenuUnionPermissionRes extends BaseResponse {

    /**
     * 菜单关联权限的数据
     */
    private List<MenuAndPermissionInfo> menuAndPermissionData;

    /**
     * Gets menu and permission data.
     *
     * @return the menu and permission data
     */
    public List<MenuAndPermissionInfo> getMenuAndPermissionData() {
        return menuAndPermissionData;
    }

    /**
     * Sets menu and permission data.
     *
     * @param menuAndPermissionData the menu and permission data
     */
    public void setMenuAndPermissionData(List<MenuAndPermissionInfo> menuAndPermissionData) {
        this.menuAndPermissionData = menuAndPermissionData;
    }
}
